# 416 - Cordoba

# County Title
title = c_cordoba

# Settlements
max_settlements = 6
b_alcolea = castle
b_cordoba = temple
b_lucena = city
b_cabra = temple
b_belalcazar = castle
#b_martos = temple
#b_canetedelastorres = castle

culture = visigothic
religion = sunni

# History
700.1.1 = {
	b_lucena = ct_jewish_community_1
	b_lucena = ct_jewish_community_2
	b_lucena = ct_jewish_community_3
}
769.1.1 = { b_cordoba = tp_cordoba_greatmosque }
929.1.1 = {
	culture = andalusian_arabic
}

941.1.1 = {
	build_wonder = wonder_medina_azahara
	set_wonder_stage = 1
}

953.1.1 = {
	build_wonder_upgrade = upgrade_throne_fancy
}

979.1.1 = {
	set_wonder_stage = 2
	build_wonder_upgrade = upgrade_retinue
}

990.1.1 = {
	build_wonder_upgrade = upgrade_royal_custodian
}

1002.1.1 = {
	set_wonder_stage = 1
	set_wonder_damaged = yes
}

1031.1.1 = { capital = b_lucena }

1070.1.1 = { capital = b_alcolea }

1236.1.1 = {
	b_cordoba = castle
	capital = b_belalcazar

	# VERY IMPORTANT: remove_settlement must always be scripted AFTER a 'capital' switch away from the same settlement
	remove_settlement = b_alcolea
}

1251.1.1 = {
	culture = castilian
	religion = catholic
}